package com.heima.bos.web.action.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.heima.bos.domain.Workbill;
import com.heima.bos.service.BaseService;
import com.heima.bos.service.WorkbillService;
import com.heima.bos.web.action.WorkbillActionInter;
@Controller
@Scope("prototype")
public class WorkbillAction extends BaseAction<Workbill> implements WorkbillActionInter{
	@Resource
	private WorkbillService workbillService;
	@Override
	protected BaseService<Workbill> getService() {
		return workbillService;
	}
	/**
	 * 分页查询通知单数据并回写浏览器
	 */
	public String pageQuery(){
		pageList();
		String[] excludes = new String[]{"decidezones","detachedCriteria","page",
										 "pageSize","haspda","deltag","station","standard",
										 "noticebill","remark"};
		writePageBean2Json(pageBean, excludes);
		return NONE;
	}
}
